//代码块 importM
import 'package:flutter/material.dart';
import 'package:flutter_chpater_01_cls/assets/font.dart';

void main() {
  runApp(MaterialApp(
    home: Scaffold(
      appBar: AppBar(title: const Text("你好Flutter")),
      body: const MyApp(),
    ),
  ));
}

// 代码块  statelessW
class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Center(
      child: Column(
        children: const [
          Icon(MyIcons.set,color: Colors.red,),
          Icon(MyIcons.study),
          Icon(MyIcons.me,color: Colors.blue,),
          Icon(Icons.category,color: Colors.red,),
          Icon(Icons.ac_unit,color: Colors.red,),
        ],
      ),
    );
  }
}